<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of MY_Config
 *
 * @author Lucas Pinheiro
 */
class MY_Config extends CI_Config {

    //put your code here
    public function __construct() {
        parent::__construct();
    }

    /**
     * Base URL
     * Returns admin_url [. uri_string]
     *
     * @access public
     * @param string $uri
     * @return string
     */
    function admin_url($uri = '') {
        return $this->slash_item('base_url') . 'admin/' . ltrim($this->_uri_string($uri), '/');
    }

}
